package com.intelligence.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.intelligence.entity.pojo.SysPermission;
import com.intelligence.entity.result.Result;
import com.intelligence.entity.vo.SysMenuVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_permission】的数据库操作Mapper
* @createDate 2024-05-15 19:38:31
* @Entity com.intelligence.domain.SysPermission
*/
@Mapper
public interface SysPermissionMapper extends BaseMapper<SysPermission> {


    List<SysPermission> findNodesByUserId(Integer id);

    List<Long> findNodesIdByRoleId(Long roleId);
}




